package cn.buk.tms.eotms.report.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 用于报表的基础Dto
 * @author william
 *
 */
public class ReportBaseDto {

	/**
	 * 订票人
	 */
	private final String operator;

	/**
	 * 账单日期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private final Date billDate;

	/**
	 * 账单id
	 */
	private final int billId;

	/**
	 * 实际应收客户金额
	 */
	private final double total;

	/**
	 * 付款状态
	 * 0: 未付款
	 * 1: 已付款
	 */
	private final int payStatus;

	public ReportBaseDto(String op1,
											 Date opDate,
											 int billId,
											 double total,
											 int payStatus) {
		this.operator = op1;
		this.billDate = opDate;
		this.billId = billId;
		this.total = total;
		this.payStatus = payStatus;
	}

	public String getOperator() {
		return operator;
	}

	public Date getBillDate() {
		return billDate;
	}

	public int getBillId() {
		return billId;
	}

	public double getTotal() {
		return total;
	}

	public int getPayStatus() {
		return payStatus;
	}
}
